import Vue from "vue";
import Vuex from "vuex";
import user from './modules/user'
import setting from './modules/setting'

// 安装插件
Vue.use(Vuex);

// 生成对象
const store = new Vuex.Store({
  modules:{
    user,
    setting
  }
});

export default store;
